﻿#pragma warning disable 1692

namespace Rsdn.Janus
{
    using System;

    internal sealed class ForumDummyForm : ForumDummyFormBase
    {
        private static ForumDummyForm _instance;

        public ForumDummyForm(IServiceProvider provider) 
            : base(provider)
        {
            
        }

        #region Instance Property

        /// <summary>
        /// Gets the instance. Make singleton
        /// </summary>
        /// <value>The instance.</value>
        public static ForumDummyForm Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new ForumDummyForm(ApplicationManager.Instance.ServiceProvider);
                }

                return _instance;
            }
        }
        #endregion
    }
}
